# Contributor: Luca Weiss <luca@z3ntu.xyz>
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-dasbus
pkgver=1.6
pkgrel=1
pkgdesc="DBus library in Python 3"
url="https://dasbus.readthedocs.io"
arch="noarch"
license="LGPL-2.1-or-later"
depends="python3 py3-gobject3 dbus"
makedepends="py3-setuptools"
checkdepends="py3-pytest"
source="https://github.com/rhinstaller/dasbus/releases/download/v$pkgver/dasbus-$pkgver.tar.gz"
builddir="$srcdir/dasbus-$pkgver"

build() {
	python3 setup.py build
}

check() {
	pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
67134edd7a044110cfac8d5559708f453f5bd023fb80f4c832022c02cf1f7dc4f879df267140fc5b1d7649a84ed9f50abca0051ad12ffd735b5c3aa4ffc09e5e  dasbus-1.6.tar.gz
"
